package booroo.basic;

public class J03_AmbiguousIF {

	public static void main(String[] args) {
		// 애매모호한 IF문
		int x, y, z;
		x=2;
		y=2;
		/*if (x>2)
			if (y>2)
				z = x + y;
			else
				System.out.println("x is "+x);
			System.out.println("z is "+z);*/
		if (x>2){
			if (y>2){z = x + y;
				System.out.println("z is "+ z );}
		} else System.out.println("x is "+ x);
		
	}
}